Part Number Hot Search : 
16220 5RIA40 TL431ACD ADM3311 PZTA42 LTC3260 MA3200WA 5RIA40
Product Description
Full Text Search
 

To Download RTL8150 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 w
ee Sh REALTEK SINGLE-CHIP ta a USB To FAST ETHERNET D . w CONTROLLER WITH MII INTERFACE w
4U t
om .c
RTL8150(M)
RTL8150L(M)
1 Features:
! RTL8150L supports 48 pins LQFP ! RTL8150LM supports 100 pins LQFP ! Integrated Fast Ethernet MAC, Physical chip and transceiver in one chip ! Supports 10 Mb/s and 100 Mb/s N-way Auto-negotiation operation. ! Single-chip USB to Fast Ethernet controller # Compliant to USB interface ver 1.0/1.1. # Full-Speed (12 Mb/s) USB Device # Supports all USB standard commands # Supports Suspend/Resume detection logic # Supports 4 endpoints ! 1 control endpoint with maximum 8-byte packet ! 1 bulk IN endpoint with 64 bytes/packet ! 1 bulk OUT endpoint with 64 bytes/packet ! 1 interrupt IN endpoint with 8 bytes/packet
w
w
w
t a .D
S a
e h
! RTL8150LM supports MII interface ! Supports Wake-On-LAN function and remote wakeup (Magic Packet*, LinkChg and Microsoft(R) wake-up frame). ! 18K bytes SRAM built in.(2k bytes for Tx buffer, and 16k bytes for Rx buffer). ! Uses 93C46 to store resource configuration, ID parameter,etc. ! Supports LED pins for various network activity indications. ! Half/Full duplex 10/100Mbps operation. ! Supports Full Duplex Flow Control (IEEE 802.3x) ! Uses 25MHz crystal as the internal clock source. ! 5 V power supply
*Third-party brands and names are the property of their respective owners.
U t4 e
.c
m o
2002/2/18 Ver1.40
1
w
w
w
.D
a
aS t
ee h
4U t
om .c
RTL8150(M)
2 General Description
The RTL8150L controller is a 48-pin LQFP single chip that supports USB to 10/100Mbps Fast Ethernet function. To connect to Home PNA 1.0 PHY or HomePNA 2.0 PHY, the 100-pin RTL8150LM provides MII interface supporting the MII transmit clock from 0.1 MHz to 25 MHz. The Realtek RTL8150L(M) is a highly integrated and cost-effective single-chip Fast Ethernet controller that provides USB to Fast Ethernet capability, and full compliance with IEEE 802.3u 100Base-T specifications and IEEE 802.3x Full Duplex Flow Control. It also supports power management for modern operating systems that is capable of Operating System Directed Power Management (OSPM) to achieve the most efficient power management. Besides the PM feature, the RTL8150L(M) also supports remote wake-up (including AMD Magic Packet*, LinkChg, and Microsoft(R) wake-up frame). For sake of cost-effective, the RTL8150L(M) only requires one 25MHz crystal as its internal clock source, and requires no "glue" logic or external memory.
The RTL8150L(M) keeps network maintenance cost low and eliminates usage barriers. It is the easiest way to connect a PC to the computer network without opening the cover, adding cards, reconfiguring software, or any of the other technicalities.
2002/2/18 Ver1.40
2
RTL8150(M)
3 Pin Assignment
34.VDD33I
25.VDD3O
36.VDD33
27.VDD5
32.GEP0
31.GEP1
30.LED0
29.LED1
28.LED2
35.GND
33.GND
26.GND
37.VDD5 38.DM 39.DP 40.VDD33I 41.GND 42.EEDO 43.EEDI 44.EESK 45.EECS 46.GND 47.VDD33O 48.VDD5
24.VDD33I 23.TXOP 22.TXON 21.GND 20.VDD33I 19. RXIP
RTL8150L
18.RXIN 17.GND 16.RTSET 15.RTT2 14.RTT3 13.VDD5
2002/2/18 Ver1.40
3
11.GND
12.VDD33O
5. TEST1
9. VDD33I
6. TEST0
8. XOUT
10.GND
7. XIN
1. NC
2. NC
3. NC
4. NC
RTL8150(M)
63 LED0 64 GEP1 65 GEP0 66 MLINK 67 MACTIVE 68 PWRSET 69 MIICOL 70 GND 71 NC 72 VDD33I 73 GND 74 NC 75 NC
62 61 60 59 58 57 56 55 54 53 52 51
LED1 LED2 T_RXC T_TXC T_CK25 T_DBG24 MDIO MDC VDD5 GND NC VDD33O
76 VDD33 77 NC 78 VDD5 79 DM 80 DP 81 VDD33I 82 GND 83 T_TXC100 84 T_RXC100 85 T_VMO 86 T_VPO 87 T_OEB 88 EEDO 89 EEDI 90 EESK 91 EECS 92 TXD3 93 T_CLKIN 94 T_POR 95 T_RCV 96 T_VM 97 T_VP 98 GND 99 VDD33O 100 NC
RTL8150LM
50 NC 49 NC 48 NC 47 NC 46 VDD33I 45 TXOP 44 TXON 43 GND 42 NC 41 NC 40 NC 39 NC 38 VDD33I 37 RXIP 36 RXIN 35 GND 34 RTSET 33 RTT2 32 RTT3 31 VDD5 30 NC 29 NC 28 NC 27 NC 26 VDD33O
1 2 3 4 5 6 7 8 9 10 11 12 13
NC NC NC VDD5 TXD2 TXD1 TXD0 TXEN TXC RXER RXC RXDV RXD0
25 24 23 22 21 20 19 18 17 16 15 14
NC GND GND NC VDD33I XOUT XIN TEST0 TEST1 RXD3 RXD2 RXD1
2002/2/18 Ver1.40
4
RTL8150(M)
4 Pin Descriptions
4.1 RTL8150L Pin Descriptions
4.1.1 POWER PINS
Symbol
VDD5 VDD33O VDD33I GND VDD33
Type
P P P P P
Pin No
13,27,37,48 12,25,47
Description
5.0V power supply as internal regulators input 3.3V power output from internal regulators Pin 47: Digital power 9,20,24,34,40 3.3V power Pin 40: Digital power 10,11,17,21,26,33,35, Ground 41,46 36 3.3V Standby power
4.1.2 USB INTERFACE
Symbol
DM DP
Type
I/O I/O
Pin No
38 39
Description
Negative data line of USB differential data bus Positive data line of USB differential data bus
4.1.3 10/100 BASE-T UTP INTERFACE
Symbol
TXD+ TXDRXIN+ RXINX1 X2
Type
O O I I I O
Pin No
23 22 19 18 7 8
Description
10/100 BASE-T transmit data 10/100 BASE-T transmit data 10/100 BASE-T receive data 10/100 BASE-T receive data 25 MHz crystal input 25 MHz crystal output
4.1.4 LED Interface
Symbol
LED0, 1, 2
Type
O
Pin No
30,29,28 LED pins(active low) LEDS1-0 LED0 LED1 LED2 00
TX/RX LINK100 LINK10
Description
01
TX/RX LINK10/100 FULL
10
TX LINK10/100 RX
11
TX/RX@ LINK10 TX/RX@ LINK100 FULL
During power down mode, the LED`s are OFF if SYSLED in configuration register 1 is set.
2002/2/18 Ver1.40
5
RTL8150(M)
4.1.5 EEPROM INTERFACE
Symbol
EECS EESK EEDI EEDO
Type
O O O I
Pin No
45 44 43 42 93C46 chip select 93C46 clock 93C46 data input 93C46 data output
Description
4.1.6 TEST AND THE OTHER PINS
Symbol
RTT2-3 TEST0-1 RTSET GEP0-1 NC
Type
TEST TEST I/O I/O
Pin No
15,14 6,5 16 32,31 1,2,3,4
Description
Chip test pins. Chip test pins. This pin must be pulled low by a 1.69K resistor. General purpose pin 0,1 Reserved
4.2 RTL8150LM Pin Descriptions
4.2.1 RTL8150LM POWER PINS
Symbol
VDD5 VDD33O VDD33I GND VDD33
Type
P P P P P
Pin No
4,31,54,78 26,51,99
Description
5.0V power supply as internal regulators input 3.3V power output from internal regulators Pin 99: Digital power 21,38,46,72,81 3.3V power Pin 81: Digital power 23,24,35,43,53,70,73, Ground 82,98 76 3.3V Standby power
4.2.2 RTL8150LM USB INTERFACE
Symbol
DM DP
Type
I/O I/O
Pin No
79 80
Description
Negative data line of USB differential data bus Positive data line of USB differential data bus
4.2.3 RTL8150LM 10/100 BASE-T UTP INTERFACE
Symbol
TXD+ TXD2002/2/18 Ver1.40
Type
O O
Pin No
45 44
Description
10/100 BASE-T transmit data 10/100 BASE-T transmit data 6
RTL8150(M)
RXIN+ RXINX1 X2 I I I O 37 36 19 20 10/100 BASE-T receive data 10/100 BASE-T receive data 25 MHz crystal input 25 MHz crystal output
4.2.4 RTL8150LM MII INTERFACE
Symbol
RXD0-3 TXD0-3 TXC MIICOL
Type
I O I I
Pin No
13,14,15,16 7,6,5,92 9 69
Description
MII receive data 0-3 MII transmit data 0-3 MII Transmit Clock: 25 MHz or 2.5 MHz Tx clock supplied by the external PMD device. MII Collision Detected: This signal is asserted high synchronously by the external physical unit upon detection of a collision on the medium. It will remain asserted as long as the collision condition persists. MII Transmit Enable: Indicates the presence of valid nibble data on TXD[3:0]. MII Receive Clock: 25 MHz or 2.5 MHz Rx clock supplied by the external PMD device. MII Receive Data Valid: Data valid is asserted by an external PHY when receive data is present on the RXD[3:0], and it is de-asserted at the end of the packet. This signal is valid on the rising edge of the RXC. MII Receive Error: This pin is asserted to indicate that invalid symbol has been detected in 100Mbps MII mode. This signal is synchronized to RXC and can be asserted for a minimum of one receive clock. MII Management Data Clock: Synchronous clock for MDIO data transfer. MII Management Data: Bi-directional signal used to transfer management information. MII link status notification, indicates to the MAC that external PMD is link Ok or not. MII active status notification, when Mactiveb=high, Mlink is low active, and vice versa.
TXEN RXC RXDV
O I I
8 11 12
RXER
I
10
MDC MDIO Mlink Mactiveb
O I/O I I
55 56 66 67
4.2.5 RTL8150LM LED Interface
Symbol
LED0, 1, 2
Type
O
Pin No
63,62,61 LED pins(active low) LEDS1-0 LED0 LED1 LED2 00
TX/RX LINK100 LINK10
Description
01
TX/RX LINK10/100 FULL
10
TX LINK10/100 RX
11
TX/RX@ LINK10 TX/RX@ LINK100 FULL
During power down mode, the LED`s are OFF if SYSLED in configuration register 0 is set.
2002/2/18 Ver1.40
7
RTL8150(M)
4.2.6 RTL8150LM EEPROM INTERFACE
Symbol
EECS EESK EEDI EEDO
Type
O O O I
Pin No
91 90 89 88 93C46 chip select 93C46 clock 93C46 data input 93C46 data output
Description
4.2.7 RTL8150LM TEST AND THE OTHER PINS
Symbol
RTT2-3 T_*** RTSET GEP0-1 PWRESETB NC
Type
TEST TEST I/O I/O O
Pin No
33,32 17,18,57,58,59,60,83, 84,85,86,87,93,94,95, 96,97 34 65,64 68 1,2,3,22,25,27,28,29, 30,39,40,41,42,47,48, 49,50,52,71,74,75,77, 100 Chip test pins. Chip test pins.
Description
This pin must be pulled low by a 1.69K resistor. General purpose pin 0,1 Power-on reset for external PHY, active low Reserved
2002/2/18 Ver1.40
8
RTL8150(M)
5. SIE -USB Commands
5.1 Vender Memory Read
Setup transaction: BmReq bReq wValueL wValueH wIndexL wIndexH C0 05 regoffsetL regoffsetH 00 00 Data transaction: DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 reg0 reg1 reg2 reg3 reg4 reg5 The total length response by 8150L depends on (LengH,LengL) values. wLengthL wLengthH LengL LengH DATA6 reg6 DATA7 reg7
5.2 Vender Memory Write
Setup transaction: BmReq bReq wValueL wValueH wIndexL 40 05 regoffsetL regoffsetH 00 Data transaction: DATA0 DATA1 DATA2 DATA3 DATA4 reg0 reg1 reg2 reg3 reg4 Offset 0x1200 to 0x127f register must write by word mode. wIndexH 00 DATA5 reg5 wLengthL wLengthH LenghL LenghH DATA6 reg6 DATA7 reg7
5.3 Set address
Setup transaction: BmReq bReq wValueL 00 05 addrL Data transaction: None wValueH addrH wIndexL 00 wIndexH 00 wLengthL wLengthH 00 00
5.4 Clear Feature EP0
Setup transaction: BmReq bReq wValueL 02 01 00 Data transaction: None wValueH 00 wIndexL 00 wIndexH 00 wLengthL wLengthH 00 00
2002/2/18 Ver1.40
9
RTL8150(M)
5.5 Clear Feature EP1
Setup transaction: BmReq breq wValueL 02 01 00 Data transaction: None wValueH 00 wIndexL 81 wIndexH 00 wLengthL wLengthH 00 00
5.6 Clear Feature EP2
Setup transaction: BmReq bReq wValueL 02 01 00 Data transaction: None wValueH 00 wIndexL 02 wIndexH 00 wLengthL wLengthH 00 00
5.7 Clear Feature EP3
Setup transaction: BmReq bReq wValueL 02 01 00 Data transaction: None wValueH 00 wIndexL 83 wIndexH 00 wLengthL wLengthH 00 00
5.8 Set Feature EP1
Setup transaction: BmReq bReq wValueL 02 03 00 Data transaction: None wValueH 00 wIndexL 81 wIndexH 00 wLengthL wLengthH 00 00
5.9 Set Feature EP2
Setup transaction: BmReq bReq wValueL 02 03 00 Data transaction: None wValueH 00 wIndexL 02 wIndexH 00 wLengthL wLengthH 00 00
5.10 Set Feature EP3
Setup transaction:
2002/2/18 Ver1.40 10
RTL8150(M)
BmReq bReq wValueL 02 03 00 Data transaction: None wValueH 00 wIndexL 00 wIndexH 83 wLengthL wLengthH 00 00
5.11 Set Interface 0
Setup transaction: BmReq bReq wValueL 01 0B 00 Data transaction: None wValueH 00 wIndexL 00 wIndexH 00 wLengthL wLengthH 00 00
5.12 Set Feature Device
Setup transaction: BmReq bReq wValueL 00 03 01 Data transaction: None wValueH 00 wIndexL 00 wIndexH 00 wLengthL wLengthH 00 00
5.13 Clear Feature Device
Setup transaction: BmReq bReq wValueL 00 01 01 Data transaction: None wValueH 00 wIndexL 00 wIndexH 00 wLengthL wLengthH 00 00
5.14 Set Config 0
Setup transaction: BmReq bReq wValueL 00 09 00 Data transaction: None wValueH 00 wIndexL 00 wIndexH 00 wLengthL wLengthH 00 00
5.15 Set Config 1
Setup transaction: BmReq bReq wValueL 00 09 01 Data transaction: None
2002/2/18 Ver1.40
wValueH 00
wIndexL 00
wIndexH 00
wLengthL wLengthH 00 00
11
RTL8150(M)
5.16 Get Descriptor Device
Setup transaction: BmReq bReq wValueL wValueH wIndexL wIndexH 80 06 00 01 00 00 Data transaction: DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 12 01 10 01 00 00 DA 0B 50 81 00 01 03 01 The total length response by 8150L depends on (LengH,LengL) values. wLengthL wLengthH Lengh_L Lengh_H DATA6 00 01 DATA7 08 02 -
5.17 Get Descriptor Configuration
Setup transaction: BmReq bReq wValueL wValueH wIndexL wIndexH 80 06 00 02 00 00 Data transaction: DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 09 02 27 00 01 01 50 09 04 00 00 03 FF * 00 07 05 81 02 00 07 05 02 02 40 07 05 83 03 08 00 The total length response by 8150L depends on (LengH,LengL) values. *The E version is 0xFF ,before E version it is 0x00. wLengthL wLengthH Lengh_L Lengh_H DATA6 00 FF * 40 00 01 DATA7 A0 00 00 00 -
5.18 Get Descriptor String Index 0
Setup transaction: BmReq bReq wValueL wValueH wIndexL wIndexH 80 06 00 03 00 00 Data transaction: DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 04 03 04 09 The total length response by 8150L depends on (LengH,LengL) values. wLengthL wLengthH Lengh_L Lengh_H DATA6 DATA7 -
5.19 Get Descriptor String Index 1
2002/2/18 Ver1.40 12
RTL8150(M)
Setup transaction: BmReq bReq wValueL wValueH wIndexL wIndexH 80 06 01 03 09 04 Data transaction:(REALTEK) DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 10 03 52 00 45 00 4C 00 54 00 45 00 The total length response by 8150L depends on (LengH,LengL) values. wLengthL wLengthH Lengh_L Lengh_H DATA6 41 4B DATA7 00 00
5.20 Get Descriptor String Index 2
Setup transaction: BmReq bReq wValueL 80 06 02 Data transaction:(USB 10/100 LAN) DATA0 DATA1 DATA2 1E 03 55 20 00 31 31 00 30 4C 00 41 wValueH 03 DATA3 00 00 00 00 wIndexL 09 DATA4 53 30 30 4E wIndexH 04 DATA5 00 00 00 00 wLengthL wLengthH Lengh_L Lengh_H DATA6 42 2F 20 DATA7 00 00 00 -
5.21 Get Descriptor String Index 3
Setup transaction: BmReq bReq wValueL wValueH wIndexL WindexH 80 06 03 03 09 04 Data transaction: DATA0 DATA1 DATA2 DATA3 DATA4 DATA5 0A 03 30 00 30 00 31 00 The total length response by 8150L depends on (LengH,LengL) values. wLengthL wLengthH Lengh_L Lengh_H DATA6 30 DATA7 00 -
5.22 Get Config
Setup transaction: BmReq bReq 80 08 Data transaction: DATA0 DATA1 Value 2002/2/18 Ver1.40
wValueL 00 DATA2 -
wValueH 00 DATA3 -
wIndexL 00 DATA4 13
wIndexH 00 DATA5 -
wLengthL wLengthH 01 00 DATA6 DATA7 -
RTL8150(M)
5.23 Get Status Device
Setup transaction: BmReq bReq 80 00 Data transaction: DATA0 DATA1 Value Value wValueL 00 DATA2 wValueH 00 DATA3 wIndexL 00 DATA4 wIndexH 00 DATA5 wLengthL wLengthH 02 00 DATA6 DATA7 -
5.24 Get Status EP0
Setup transaction: BmReq bReq 82 00 Data transaction: DATA0 DATA1 Value Value wValueL 00 DATA2 wValueH 00 DATA3 wIndexL 00 DATA4 wIndexH 00 DATA5 wLengthL wLengthH 02 00 DATA6 DATA7 -
5.25 Get Status EP1
Setup transaction: BmReq bReq 82 00 Data transaction: DATA0 DATA1 Value value wValueL 00 DATA2 wValueH 00 DATA3 wIndexL 81 DATA4 wIndexH 00 DATA5 wLengthL wLengthH 02 00 DATA6 DATA7 -
5.26 Get Status EP2
Setup transaction: BmReq bReq 82 00 Data transaction: DATA0 DATA1 Value value wValueL 00 DATA2 wValueH 00 DATA3 wIndexL 02 DATA4 wIndexH 00 DATA5 wLengthL wLengthH 02 00 DATA6 DATA7 -
5.27 Get Status EP3
2002/2/18 Ver1.40 14
RTL8150(M)
Setup transaction: BmReq bReq 82 00 Data transaction: DATA0 DATA1 Value Value wValueL 00 DATA2 wValueH 00 DATA3 wIndexL 83 DATA4 wIndexH 00 DATA5 wLengthL wLengthH 02 00 DATA6 DATA7 -
5.28 Get Status Interface 0
Setup transaction: BmReq bReq 81 00 Data transaction: DATA0 DATA1 Value value wValueL 00 DATA2 wValueH 00 DATA3 wIndexL 00 DATA4 wIndexH 00 DATA5 wLengthL wLengthH 02 00 DATA6 DATA7 -
5.29 Get Interface 0
Setup transaction: BmReq bReq 81 0A Data transaction: DATA0 DATA1 value wValueL 00 DATA2 wValueH 00 DATA3 wIndexL 00 DATA4 wIndexH 00 DATA5 wLengthL wLengthH 01 00 DATA6 DATA7 -
2002/2/18 Ver1.40
15
RTL8150(M)
6. Memory Allocation
$0000H~$011FH------- Reserved $0120H~$01FFH------- RTL8150L(M) REGISTER $1200H~$127FH--------Serial EEPROM(9346) Offset
0120h-0125h 0126h-012Dh 012Eh 012Fh 0130-0131h 0132h 0133h 0134h 0135h 0136h 0137h 0138h 0139-013Ah 013Bh 013Ch 013Dh 013Eh 0140h-0141h 0142h-0143h 0144h-0145h 0146h-0147h 0148h-0149h 014Ah-014Bh 014Ch-014Dh 014Eh-014Fh 0150h-0151h 0152h-0153h 0154h-0155h 0156h-0157h 0158h-015Fh 0160h-0167h 0168h-016Fh 0170h-0177h 0178h-017Fh 0180h-0183h 0184h 0186h-0189h 018Ah-01ff
Type
R/W* R/W R/W R/W R/W R/W R/W R/W R/W* R/W* R/W R/W R/W R/W R/W R/W* R/W R/W* R R/W* R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R /W R/W
Pin No
IDR0-5 MAR0-7 CR TCR RCR TSR RSR Reserved CON0 CON1 MSR PHYADD PHYDAT PHYCNT Reserved GPPC WAKECNT BMCR BMSR ANAR ANLP AER NWAYT CSCR CRC0 CRC1 CRC2 CRC3 CRC4 BYEMASK0 BYEMASK 1 BYEMASK 2 BYEMASK 3 BYEMASK 4 PHY1 PHY2 TW1 Reserved
Description
Ethernet Address ,load from 93C46 Multicast register Command Register Transmit configuration register Receive configuration register Transmit status register Receive status register Configuration register0 Configuration register1 Medium status MII PHY address select MII PHY data MII PHY control General purpose pin control Wake up event control Basic mode control register Basic mode status register Auto-negotiation advertisement register Auto-negotiation link partner ability register Auto-negotiation expansion register Nway test register CS confiiguration register Power Management CRC register for wakeup frame0 Power Management CRC register for wakeup frame1 Power Management CRC register for wakeup frame2 Power Management CRC register for wakeup frame3 Power Management CRC register for wakeup frame4 Power Management wakeup frame0(64bit) bytemask Power Management wakeup frame1(64bit) bytemask Power Management wakeup frame2(64bit) bytemask Power Management wakeup frame3(64bit) bytemask Power Management wakeup frame4(64bit) bytemask PHY parameter 1 PHY parameter 2 Twister parameter 1
* : denotes auto-loaded from 93C46 during chip initialization.
2002/2/18 Ver1.40
16
RTL8150(M)
7. Register Descriptions
7.1 Command Register (Offset 012Eh, R/W)
Bit
7-6 5
Symbol
WEPROM
Description
Reserved 1:EEPROM write enable 0: disable The EEPROM map from 0x1200 to 127fh. Write 0x1200 equal to program EEPROM offset 0x00. Write to EEPROM must use WORD mode access at a time. The read EEPROM have not limit. Reset: Setting to 1 forces the RTL8150L(M) to a software reset state which disables the transmitter and receiver, reinitializes the FIFOs, resets the system buffer pointer to the initial value , Rx buffer is empty). The values of IDR0-5 and MAR0-7 will have no changes. This bit is 1 during the reset operation, and is cleared to 0 by the RTL8150L(M) when the reset operation is complete. Ethernet 10/100M receive enable Ethernet 10/100M transmit enable 1: Enable clearing the performance counter of EP3 after EP3 access. 0: Disable 1: Auto-load the contents of 93c46 into RTL8150L(M)'s registers. This bit is self clearing after load complete.
Default/ Attribute
0,R/W
4
SOFT_RST
0,R/W
3 2 1 0
RE TE EP3CLREN AUTOLOAD
0,R/W 0,R/W 0,R/W 0,R/W
7.2 Transmit Configuration Register (Offset 012Fh, R/W)
Bit
7-6
Symbol
TXRR1, 0
Description
Tx Retry Count: These 2 bits are used to specify additional transmission retries in multiple of 16(IEEE 802.3 CSMA/CD retry count). If the TXRR is set to 0, the transmitter will re-transmit 16 times before aborting due to excessive collisions if the TXRR is set to a value greater than 0, the transmitter will re-transmit a number of times equals to the following formula before aborting: Total retries = 16 + (TXRR * 16) The ECOL bit in the TSR register will be set if transmit abort due to excessive collision. Interframe Gap Time: This field allows the user to adjust the interframe gap time below the standard: 9.6 us for 10Mbps, 960 ns for 100Mbps. The time can be programmed from 9.6 us to .8.4 us (10Mbps) and 960ns to 840ns (100Mbps). The formula for the inter frame gap is: 10 Mbps 8.4us + 0.4(IFG(1:0)) us 100 Mbps 840ns + 40(IFG(1:0)) ns 1: There's no CRC appended at the end of a packet. 0: There's CRC appended at the end of a packet. 17
Default/ Attribute
0,R/W
5 4,3
Reserve IFG1, 0
0,R/W
2, 1 0
Reserved NOCRC
0,R/W
2002/2/18 Ver1.40
RTL8150(M)
7.3 Receive Configuration Register (Offset 0130h-0131h, R/W)
Bit
15-8 7
Symbol
TAIL
Description
Reserved 0: CRC field forward to HOST 1: Rx Header forward to HOST. The first two bytes of CRC field are replaced by receive header. 1:Accept CRC error packet 1: Accept RUNT packet (<64 bytes) 1: Accept all multicast packets enumerated in the driver's multicast address list. 0: Disabled. 1: Accept broadcast packets 0: Reject broadcast packets. 1: Packets received containing a destination address that match the MAC address of the networking device are accepted. 0: Disabled. 1: Accept all multicast frames received by the networking device, including the ones enumerated in the device's multicast address list, 0: Disable. 1: Accept all physical frames 0: Disable.
Default/ Attribute
0,R/W
6 5 4
AER AR AM
0,R/W 0,R/W 0,R/W
3 2
AB AD
0,R/W 0,R/W
1
AAM
0,R/W
0
AAP
0,R/W
7.4 Transmit Status Register(Offset 0132h)
Bit
7-6 5 4 3 2 1 0
Symbol
ECOL LCOL LOSS_CRS JBR TX_BUF_EMPTY TX_BUF_FULL
Description
Reserved 1: Excessive collision indication 1: Late collision indication 1: Loss of carrier indication 1: Jaber time out indication 1: Tx buffer empty indication 1: Tx buffer full indication
Default/ Attribute
R R R R R R
Note: TSR register will be cleared to the default value after read or EP3 access.
7.5 Receive Status Register(Offset 0133h)
Bit
7 6 2002/2/18 Ver1.40
Symbol
WEVENT RX_BUF_FULL Wake Up Event indication: 1: Wakeup event occurs Rx Buffer Full indication 18
Description
Default/ Attribute
R R
RTL8150(M)
5 4 3 2 1 LKCHG RUNT LONG CRC FAE Link Change indication Runt Packet indication 1: The received packet length is smaller than 64 bytes. Long Packet indication 1: The size of the received packet exceeds 4k bytes. CRC Error indication. 1: The received packet is checked with CRC error. Frame Alignment Error: 1: Indicates that a frame alignment error occurred on this received packet. Receive OK indication. 1: Indicate that a packet is received without error. R R R R R
0
ROK
R
Note: RSR register will be cleared to the default value after read or EP3 access.
7.6 Configuration Register 0(Offset 0135h, R/W)
Bit
7 6
Symbol
SUSLED PARM_EN
Description
0: LED pins are driven high to turn off LED during suspend. Parameter Enable: (These parameters are used in 100Mbps mode.) 1: PHY1_PARM, PHY2_PARM, TW_PARM can be modified through access to register 0180H~0189H. 0: Disable
Note: Each time 93C46 auto-load process is executed, the PHY1_PARM, PHY2_PARM, TW_PARM will be re-loaded the default value from 93C46.
Default/ Attribute
0,R/W 0,R/W
4-5 3
LDPS
2
MSEL
1-0
LEDS1-0
Reserved Link Down Power Saving mode: 1: Disable. 0: Enable. When the ethernet cable is disconnected (Link Down), part of analog circuit will be powered down in order to save power. The other part of analog circuits relating to SD signal monitoring and 100M signal receiving are not powered down in case the cable is re-connected and link should be re-established again. Medium Select When write : 1:MII mode (disable internal PHY) 0:Auto-detect. The UTP mode will be the default. The RTL8150L(M) is switched to MII mode if the internal PHY is not link OK. When read 1:MII mode: The MAC MII is connected to the MII interface of the external PHY. 0:UTP mode: The MAC MII is connected to the internal PHY. Refer to LED PIN definition. The default value is auto-loaded from 93C46.
0,R/W
0,R/W
0,R/W
7.7 Configuration Register 1(Offset 0136h, R/W)
Bit
2002/2/18 Ver1.40
Symbol
19
Description
Default/
RTL8150(M)
Attribute
7 6 BWF Reserved. Broadcast Wakeup Frame Function: 1: Enable Broadcast Wakeup Frame If set_feature command with Feature Selector =DEVICE_REMOTE_WAKEUP is received from USB host and BWF=1, RTL8150L(M) will signal wakeup to the host when correctly receiving a packet with DID=FF FF FF FF FF FF (Broadcast packet),. 0: Disable. Multicast Wakeup Frame Function: 1: Enable Multicast Wakeup Frame If set_feature command with Feature Selector =DEVICE_REMOTE_WAKEUP is received from USB host and MWF=1, RTL8150L(M) will signal wakeup to the host when correctly receiving multicast packets (packets that survive the multicast hash),. 0: Disable. Unicast Wakeup Frame Function: 1: Enable Unicast Wakeup Frame f set_feature command with Feature Selector =DEVICE_REMOTE_WAKEUP is received from USB host and UWF=1, RTL8150L(M) will signal wakeup to the host when correctly receiving a packet with DID=IDR0~5. 0: Disable. Reserved 1: The Bytemask3 and Bytemask4 are cascaded to form a 128 byte long Bytemask for long wakeup frame 1, and long wakeup frame 1 use CRC3 as CRC check. When LONGWF1=1, wakeup frame 3 and wakeup frame 4 are disable. 0: Disable LOGNWF1. 1: The Bytemask1 and Bytemask2 are cascaded to form a 128 byte long Bytemask for long wakeup frame 0, and long wakeup frame 0 use CRC1 as CRC check. When LONGWF0=1, wakeup frame 1 and wakeup frame 2 are disabled. 0: Disable LOGNWF0. 0,R/W
5
MWF
0,R/W
4
UWF
0,R/W
2-3 1
LONGWF1
0,R/W
0
LONGWF0
0,R/W
7.8 Media Status Register (Offset 0137h, R/W)
Bit
7
Symbol
TXFCE/ LdTXFCE
Description
Tx Flow Control Enable: The flow control is valid in full-duplex mode only. This register`s default value comes from 93C46. RTL8150L Remote ANE = 1 NWAY FLY mode ANE = 1 NWAY mode only ANE = 1 No NWAY ANE = 0 & full-duplex mode ANE = 0 & half-duplex mode TXFCE/LdTXFCE R/O R/W R/W R/W Invalid
Default/ Attribute
R/W
2002/2/18 Ver1.40
20
RTL8150(M)
NWAY FLY mode : NWAY with flow control capability NWAY mode only : NWAY without flow control capability RX Flow control Enable: The flow control is enabled in full-duplex mode only. The default value comes from 93C46 . 1: Indicate that the current link is full-duplex 0: Indicate that the current link is half-duplex 1: Indicate that the current link is in 100Mbps mode. 0: Indicate that the current link is in 10Mbps mode. Link status. 1: Link OK. 0: Link Fail. 1: Indicate that RTL8150L(M) sends pause packet. 0: Indicate that RTL8150L(M) has sent timer done packet to release remote station from pause Tx state. 1: Indicate that RTL8150L(M) is in Backoff state because a pause packet from remote station has been receipt. 0: Indicate that RTL8150L(M) is not in pause state.
6 5 4 3 2
RXFCE Reserved Duplex SPEED_100 LINK
R/W R R R
1
TXPF
R
0
RXPF
R
7.9 MII PHY Address(Offset 0138h, R/W)
Bit
7-5 4-0
Symbol
Reserved PHYADD MII PHY Address select
Description
Default/ Attribute
R/W
7.10 MII PHY DATA(Offset 0139h-013Ah, R/W)
Bit
15-0
Symbol
MIIDAT
Description
Data read from MII PHY or data that is to be written to MII PHY.
Default/ Attribute
R/W
7.11 MII PHY Access Control(Offset 013Bh, R/W)
Bit
7 6
Symbol
Reserved PHYOWN
Description
Own bit: RTL8150L(M) will initiate a MII management data transaction if this bit is set 1 by software. After transaction, this bit is auto cleared by RTL8150L. MII management data R/W control 1:write, 0: read PHY register offset
Default/ Attribute
0,R/W
5
RWCR
R/W
4-0
PHYOFF
R/W
2002/2/18 Ver1.40
21
RTL8150(M)
7.12 General Purpose Register(Offset 013Dh, R/W)
Bit
7-5 4 3 2
Symbol
GEPREG1~3 GEPREG0 GEP1DAT GEP1RW
Description/Usage
Reserved General purpose bit 1: Supports external Home PNA PHY If GEP1RW is set 1, the GEP1 pin will reflect the value of GEP1DAT, else GEP1DAT will reflect the value of GEP1 pin. General purpose pin control bit: 0: The corresponding GEP1 pin is considered input 1: The corresponding GEP1 pin is considered output If GEP0RW is set 1, the GEP0 pin will reflect the value of GEP0DAT, else GEP0DAT will reflect the value of GEP0 pin. General purpose pin control bit: 0: The corresponding GEP0 pin is considered input 1: The corresponding GEP0 pin is considered output
Default/ Attribute
RO R/W R/W
1 0
GEP0DAT GEP0RW
R/W R/W
If GEPRW=0 ,READ only
7.13 Wake Up Event Control(Offset 013E, R/W)
Bit
7 6 5 4 3 2 1 0
Symbol
Reserved LKWEN MAGWEN WUF4EN WUF3EN WUF2EN WUF1EN WUF0EN
Description/Usage
Link change wake-up enable Magic Packet wake-up enable Wake up frame 4 enable Wake up frame 3 enable Wake up frame 2 enable Wake up frame 1 enable Wake up frame 0 enable
Default/ Attribute
0, R/W 0, R/W 0, R/W 0, R/W 0, R/W 0, R/W 0, R/W
Note: RTL8150L(M) will signal wakeup to the host only when the following two conditions are met: 1. The host has send set_feature_device command. 2. One of the wakeup frame function has been enabled and triggered.
7.14 Basic Mode Control Register (Offset 0140h-0141h, R/W)
Bit
15 14 13
Name
Reset Reserved Spd_Set
Description/Usage
This bit, which is self clearing, will reset the control and status registers of PHY into the default states if it is set 1. Speed select. 1 = 100Mbps; 0 = 10Mbps. Note: The initial value of this bit comes from 93C46 22
Default/ Attribute
0, RW RW
2002/2/18 Ver1.40
RTL8150(M)
12 Auto Negotiation Enable (ANE) This bit enables/disables the NWay auto-negotiation function. 1 = Enable auto-negotiation. If this bit is set, bit 8 and bit13 will be ignored, and the values of bit8 and bit 13 indicate the result of auto negotiation process. 0 = Disable auto-negotiation. Note: The initial value of this bit comes from 93C46 This bit allows the NWay auto-negotiation function to be re-initiated. 1 = Re-start auto-negotiation 0 = Normal operation. This bit sets the duplex mode. 1 = full-duplex 0 = normal operation. Note: This bit`s initial value comes from 93C46 0, RW
11-10 9
Reserved Restart Auto Negotiation Duplex Mode
0, RW
8
0, RW
7-0
Reserved
-
7.15 Basic Mode Status Register (Offset 0142h-0143h, R)
Bit
15 14 13 12 11 10-6 5 4 3 2-1 0
Name
100Base-T4
Description/Usage
Default/ Attribute
0, RO 1, RO 1, RO 1, RO 1, RO 0, RO 0, RO 1, RO
100Base-T4 Capable: 0 = Device not able to perform 100Base-T4 mode 100Base-TX Full Duplex Capable: 100Base_TX_ FD 1 = Device able to perform 100Base-TX in full duplex mode 100Base-TX Half Duplex Capable: 100Base_TX_HD 1 = Device able to perform 100Base-TX in half duplex mode 10Base-T Full Duplex Capable: 10Base_T_FD 1 = Device able to perform 10Base-T in full duplex mode 10Base-T Half Duplex Capable: 10_Base_T_HD 1 = Device able to perform 10Base-T in half duplex mode Reserved Auto Negotiation 1 = Auto-negotiation process completed; Complete 0 = Auto-negotiation process not completed. 1 = Remote fault condition detected (clear on read); Remote Fault 0 = No remote fault condition detected. Auto Negotiation 1 = Device is able to perform Auto-Negotiation. ability 0 = Device not able to perform Auto-Negotiation. Reserved Extended 1 = Extended register capabilities; Capability 0 = Basic register set capabilities.
1, RO
7.16 Auto-negotiation Advertisement Register (Offset 0144h-0145h, R/W)
Bit
15 2002/2/18 Ver1.40
Name
NP
Description/Usage
Next Page capability. 0 = Advertise that NP capability not supported by local mode 23
Default/ Attribute
0, RO
RTL8150(M)
1 = Advertise NP exchange capability and desire to transfer next page. 1 = Acknowledge reception of link partner's capability data word. 1 = Advertise remote fault detection capability; 0 = Do not advertise remote fault detection capability. Reserved 1 = Advertise flow control supported by local node. 0 = Advertise flow control not supported by local mode. 1 = Advertise 100Base-T4 supported by local node; 0 = Advertise 100Base-T4 not supported by local node. 1 = Advertise 100Base-TX full duplex supported by local node; 0 = Advertise 100Base-TX full duplex not supported by local node. 1 = Advertise 100Base-TX supported by local node; 0 = Advertise 100Base-TX not supported by local node. 1 = Advertise 10Base-T full duplex supported by local node; 0 = Advertise 10Base-T full duplex not supported by local node. 1 = Advertise 10Base-T supported by local node; 0 = Advertise 10Base-T not supported by local node. Binary encoded selector supported by this node. Currently only CSMA/ CD <00001> is specified. No other protocols are supported.
14 13 12-11 10
ACK RF PAUSE
0, RO 0, RW The default value comes from EEPROM, RO
9 8 7 6 5 4-0
T4 TXFD TX 10FD 10 Selector
0, RO 1, RW 1, RW 1, RW 1, RW <00001>, RW
7.17 Auto-Negotiation Link Partner Ability Register (Offset 0146h-0147h, R)
Bit
15
Name
NP
Description/Usage
Next Page Indication: 0 = Link Partner does not desire Next Page Transfer 1 = Link Partner desires Next Page Transfer. 1 = link partner acknowledges reception of the capability data word. 0 = Not acknowledged The device's Auto-Negotiation state machine will automatically control this bit based on the incoming FLP bursts. Remote Fault: 1 = Remote Fault indicated by Link Partner 0 = No Remote Fault indicated by Link Partner. 1 = Flow control is supported by link partner , 0 = Flow control is not supported by link partner. 100BASE-T4 Support: 1 = 100Base-T4 is supported by the link partner; 0 = 100Base-T4 not supported by the link partner. 100BASE-TX Full Duplex Support: 1 = 100Base-TX full duplex is supported by the link partner; 0 = 100Base-TX full duplex not supported by the link partner. 100BASE-TX Support: 1 = 100Base-TX is supported by the link partner; 0 = 100Base-TX not supported by the link partner. 10BASE-T Full Duplex Support: 1 = 10Base-T full duplex is supported by the link partner; 24
Default/ Attribute
0, RO
14
ACK
0, RO
13
RF
0, RO
12-11 10 9
Reserved Pause T4
0, RO 0, RO
8
TXFD
0, RO
7
TX
0, RO
6 2002/2/18 Ver1.40
10FD
0, RO
RTL8150(M)
5 10 0 = 10Base-T full duplex not supported by the link partner. 10BASE-T Support: 1 = 10Base-T is supported by the link partner; 0 = 10Base-T not supported by the link partner. Protocol Selection Bits: Link Partner's binary encoded protocol selector. 0, RO
4-0
Selector
0, RO
7.18 Auto-negotiation Expansion Register (Offset 0148h-0149h, R)
This register contains additional status for NWay auto-negotiation. Bit
15-5 4 3 2 1
Name
MLF LP_NP_ABLE NP_ABLE PAGE_RX
Description/Usage
Reserved, This bit is always set to 0. Status indicating if a multiple link fault has occurred. 1 = fault occurred; 0 = no fault occurred. Status indicating if the link partner supports Next Page negotiation. 1 = supported; 0 = not supported. This bit indicates if the local node is able to send additional Next Pages. This bit is set when a new Link Code Word Page has been received. The bit is automatically cleared when the auto-negotiation link partner`s ability register (register 146h) is read by management. 1 = link partner supports NWay auto-negotiation.
Default/ Attribute
0, RO 0, RO 0, RO 0, RO
0
LP_NW_ABLE
0, RO
7.19 NWay Test Register (Offset 014Ah-014Bh, R/W)
Bit
15-8 7 6-4 3 2 1 0
Name
NWLPBK ENNWLE FLAGABD FLAGPDF FLAGLSC
Description/Usage
Reserved 1 = set NWay to loopback mode. Reserved 1 = LED0 Pin indicates linkpulse 1 = Auto-neg experienced ability detect state 1 = Auto-neg experienced parallel detection fault state 1 = Auto-neg experienced link status check state
Default/ Attribute
0, RW 0, RW 0, RO 0, RO 0, RO
7.20 CS Configuration Register (Offset 014Ch-014Dh, R/W)
Bit
15 14-10 9 8 2002/2/18 Ver1.40
Name
Testfun LD HEART BEAT
Description/Usage
1 = Speeds up internal timer for Auto-Negociation Reserved Active low TPI link disable signal. When low, TPI still transmits link pulses and TPI stays in good link state. 1 = HEART BEAT enable 25
Default/ Attribute
0,WO 1, RW 1, RW
RTL8150(M)
0 = HEART BEAT disable. HEART BEAT function is only valid in 10Mbps mode. 1 = enable jabber function. 0 = disable jabber function Force link-up in 100Mbps for diagnostic purposes. 1 = DISABLE 0 = ENABLE. Force connection of the link for diagnostic purposes: 1 = Fore connection 0 = Disable Reserved This bit indicates the status of the connection. 1 = valid connected link detected 0 = disconnected link detected. Assertion of this bit configures LED1 pin to indicate connection status. Reserved Bypass Scramble function
7 6
JBEN F_LINK_100
1, RW 1, RW
5
F_Connect
0, RW
4 3
Con_status
0, RO
2 1 0
Con_status_En PASS_SCR
0, RW 0, RW
8 EEPROM 93C46 Contents
The 93C46 is a 1K-bit EEPROM. Although it is actually addressed by words, we list its contents by bytes below for convenience. After the valid duration of the RSTB pin or auto-load command in Command Register(offset 012Eh), the RTL8150L(M) performs a series of EEPROM read operation from the 93C46.
$
If you want to change the Realtek default setting of the content in EEPROM, we suggest that you have Realtek approval. Bytes
00h 01h
Contents
50h 81h Ethernet ID CONFIG0 MSR/BMCR
Description
These 2 bytes contain ID code word for the RTL8150L(M). The RTL8150L(M) will load the contents of EEPROM into the corresponding location if the ID word (8150h) is right. Ethernet ID, After auto-load command or hardware reset, RTL8150L(M) loads Ethernet ID to IDR0-IDR5 of RTL8150L(M)'s. RTL8150L(M) Configuration register 0, operational registers offset 0135h. Bit7-6 map to the bit7-6 of Media Status register (MSR), Bit5, 4, 0 map to the bit13, 12, 8 of Basic Mode Control register (BMCR), Bit2 maps to the bit10 of Auto-negotiation Advertisement Register (ANAR), Bit3, 1 are reserved. If the network speed is set to Auto-Detect mode (i.e. Nway mode), then Bit2=0 means the local RTL8150L(M) supports flow control (IEEE 802.3x) (in this case, Bit10=1 in Auto-negotiation Advertisement Register (offset 146h-147h), and Bit2=1 means the local RTL8150L(M) does not support flow control (in this case, Bit10=0 in Auto-negotiation Advertisement). This is because that there are Nway switch hubs will keep sending flow control pause packets with no reason, if the link partner supports Nway flow control. General Purpose Pin Control Register (offset 013Dh). Reserved. Do not change this filed without Realtek approval. USB Device Parameter USB Configuration characteristics: 26
02h-07h 08h 09h
0Ah 0Bh 0Ch 2002/2/18 Ver1.40
GEP UDP ATTR
RTL8150(M)
Bit7 is reserved and must be set to one for USB spec. A device configuration that uses power from the bus and a local source reports a non-zero value in MaxPower to indicate the amount of bus power required and sets Bit 6. Bit5 is set one to support remote wakeup. Bit4-0: Reserved and must be reset to zero for USB spec. Reserved. Do not change this filed without Realtek approval. PHY Parameter 2 for RTL8150L(M). Operational register of the RTL8150L(M) is 0184h. Reserved. Do not change this filed without Realtek approval. PHY Parameter 1 for RTL8150L(M). Operational register of the RTL8150L(M) is 0180h-0183h. Reserved. Do not change this filed without Realtek approval. Twister Parameter for RTL8150L(M). Operational registers of the RTL8150L(M) are 0186h-0189h. The maximum USB power consumption. Interval for pollin endpoint 3 for data transfers. Expressed in milliseconds. The string in a USB device may support multiple languages. A manufacturer can specify the desired language using a sixteen-bit language ID. The system manufacturer's ID. The of a system manufacturer's product ID. The product's serial number. These bytes specify a manufacturer's information for the USB standard request. Maximum string length is 40 bytes. These bytes specify a device's information for the USB standard request. Maximum string length is 46 bytes.
0Dh
PHY2_PARM
0Eh-11h
PHY1_PARM
12h-15h
TW1_PARM
16h 17h 18h-19h 1Ah-1Bh 1Ch-1Dh 1Eh-27h 28h-4fh 50h-7dh 7eh-7fh
MAXPOR INTERVAL LanguageID ManufacturerID ProductID Serial number Manufacturer String Product String Reserved
8.1 Summary of RTL8150L`s registers in the EEPROM(93C46)
Offset
00h 01h 02-07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0E-11h 12h-15h 16h 17h 18h-19h
Name
Type
R R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Bit7
0 1
Bit6
1 0
Bit5
0 0
Bit4
1 0 ANE
Bit3
0 0 LDPS GEP1DAT
Bit2
0 0 MSEL PAUSE
GEP1RW
Bit1
0 0
Bit0
0 1
ROMID0 ROMID1 IDR0-IDR5 Config0 MSR/ BMCR GPCP UDP ATTR PHY2_PARM PHY1_PARM TW1_PARM MAXPOR Interval Language ID Manufacture 1Ah-1Bh ID 1Ch-1Dh Product ID 1Eh-27h Serial number 2002/2/18 Ver1.40
SUSLED PARM_EN TXFCE RXFCE Spd_set
LEDS1 LEDS0 FUDUP
GEP0DAT GEP0RW
GEPREG3 GEPREG2 GEPREG1 GEPREG0
1
0
1
0
0
0
8 bit Read Write 0 0 8 bit Read Write 32 bit Read Write 32 bit Read Write 8 bit Read Write 0 0 16 bit Read Write 16 bit Read Write 16 bit Read Write 10 bytes Read Write
0
0
0
0
0
1
27
RTL8150(M)
Manufacture String 50h-7dh Product string 7eh-7fh Reserved 28h-4fh R/W R/W 40 bytes Read Write 46 bytes Read Write -
2002/2/18 Ver1.40
28
RTL8150(M)
9 Functional Description
9.1 System Block Diagram
EEPROM Interface
DP DM
SIE
Memory Management Unit (MMU)
MAC Controller
MII Interface
TXO+
SRAM Tx/2k bytes Rx/16k bytes
10/100Mbps PHY
TXORXIN+ RXIN-
9.2 USB Endpoint SIE function description
The SIE employs a robust hardwired USB protocol implementation so that the entire USB interface operation could be done without firmware intervention. For all three types of EP's, bulk in,bulk out, and interrupt, appropriate responses and handshake signals are generated by SIE. The SIE analog transceiver complies fully with driver and receiver characteristics defined in USB Spec. Rev. 1.1,
9.2.1 Endpoint0
All USB devices support a common accesses mechanism for accessing information through this
2002/2/18 Ver1.40 29
RTL8150(M)
control pipe. Associated with the control pipe at endpoint zero is the information required to completely describe the USB device. This pipe also provides the register read and write to RTL8150L .
9.2.2 Endpoint 1 Bulk IN
The MAXIMUM packet size of BULK IIN is 64 bytes. Every Ethernet packet are transfer to HOST by this Endpoint. If the Ethernet packet is larger than 64 bytes, the RTL8150L(M) splits the Ethernet packet into multiples of 64 bytes. The HOST treats the USB packet that less than 64 bytes or equal zero as End of Ethernet packet.
9.2.3 Endpoint 2 Bulk OUT
The HOST sends the USB packet to Ethernet by maximum 64 bytes. If the Ethernet packet is larger than 64 bytes, the Host will send this Ethernet packet in multiples of 64 bytes USB packet. The USB packet less than 64 bytes (including zero byte) indicates the end of a Ethernet packet. The Ethernet packet (containing multiples of USB packets) will be queued in TX FIFO and transmitted later when possible. If the Ethernet packet is transmitted to medium without error, the TX FIFO space which was occupied by the transmitted Ethernet packet will be released again. If the 2K TX FIFO is full, the RTL8150L(M) will respond with a NAK when the host is trying to bulk out more USB packets. It is possible that there are multiples of Ethernet packets in the TX FIFO simultaneously. If a Ethernet packet is to be transmitted but experiences collisions for more than 16 times (default), this is called transmit abort and this packet will be skipped for transmission by RTL8150L(M).
9.2.4 Endpoint 3 interrupt IN
The Interrupt EP (EP3) can be used to poll the current status of RTL8150L(M). The 8 bytes of EP3 contain the information listed below. After EP3 access, the information will be cleared and the counter will be reset if EP3CLREN (Reg 012Eh) is set. The NUMTXOK, RXLOST, CRCERR, COLCNT counters will saturate to 255 if the number of up count events is greater than 255. The eight bytes of EP3 Interrupt IN contains: DATA0
2002/2/18 Ver1.40
DATA1
DATA2
DATA3
30
DATA4
DATA5
DATA6
DATA7
RTL8150(M)
TSR RSR GEP/MSR WAKSR NUMTXOK RXLOST CRCERR COLCNT
Offset
00h 01h 02h 03h 04 05h 06h 07h
Name
TSR RSR GEP/MSR WAKSR TXOK_CNT RXLOST_CNT CRCERR_CNT COL_CNT
Type
R R R R R R R R
Bit7
-
Bit6
-
Bit5
ECOL LKCHG -
Bit4
LCOL RUNT Duplex -
Bit3
LOSS_CRS LONG SPEED_100
Bit2
JBR CRC
Bit1
FAE TXPF MAGIC_ EV
Bit0
ROK RXPF BMU_EV
TX_BUF_ TX_BUF_ EMPTY FULL
RX_BUF_F ULL GEP1DAT GEP0DAT PARM_EN
LINK LKWAKE_ WAKEUP_EV EV
8-bit counter that counts for valid packets transmitted. 8-bit counter that counts for packet lost due to Rx buffer overflow. 8-bit counter that counts for error packets 8-bit counter that counts for collisions.
9.3 Ethernet function description
9.3.1 Transmit operation
The USB host initiates a transmission by transferring multiple USB packets into Tx buffer. When MAC receives the end of USB BULK OUT packet from USB host, the RTL8150L(M) starts Ethernet packet transmission.
9.3.2 Receive operation
The incoming Ethernet packet is queued in the RTL8150L(M)'s Rx buffer. While the RTL8150L(M) is receiving the Ethernet packet, it also performs address filtering of multicast packets according to its hash algorithms. When the Ethernet packet is correctly received or the amount of data in the Rx buffer reaches the level defined in the Receive Configuration Register(Early receive function is on), the RTL8150L(M) requests the USB SIE to begin transferring the data to the USB Host memory . Rx header format (ref. Receive Configuration Register, offset 0130h) Bit 11-0: Rx bytes count Bit 12:Valid packet (Packet that is RXOK and not accept error) Bit 13: Runt packet Bit 14: Physical match packet Bit 15: Multicast packet
2002/2/18 Ver1.40
31
RTL8150(M)
9.3.3 Collision
If the RTL8150L(M) is not set the full-duplex mode, a collision event occurs when the receive input is not idle while the RTL8150L(M) transmits. If the collision is detected during the preamble transmission, the jam pattern is transmitted after completing the preamble transmission (including the JK symbol pair).
9.3.4 Flow Control
The RTL8150L(M) supports IEEE802.3X flow control to improve performance in full-duplex mode. It recognizes PAUSE packet sent from remote station and backoff transmission according to IEEE802.3X if RXFCE is set, or RTL8150L(M) sends PAUSE packet to remote station when the local RX FIFO exceeds some threshold if the TXFCE is set.
9.3.4.1 Control Frame Transmission
When the free space of RX FIFO is less than 3K bytes. The RTL8150L(M) sends a PAUSE packet with pause_time(=FFFFh) to inform the remote station to stop transmission for the specified period of time. After the packets in the RX FIFO are consumed and the free space of RX FIFO is greater than 5K bytes, the RTL8150L(M) sends the PAUSE packet with pause_time(=0000h) to inform the remote station to restart transmission.
9.3.4.2 Control Frame Reception
RTL8150L(M) backoffs transmission for the specified period of time when it receives a valid PAUSE packet with pause_time(=n). If the PAUSE packet is received while RTL8150L(M) is transmitting, RTL8150L(M) will start to backoff after current transmission completes. RTL8150L(M) is free to transmit next packets again if a valid PAUSE packet with pause_time(=0000h) is received or the backoff timer(=n*512 bit time) elapses.
Note: The PAUSE operation cannot be used to inhibit transmission of MAC Control frames (e.g. PAUSE packet). The N-way flow control capability can be disabled (Refer to Section 8. EEPROM 93C46 Contents for detailed description).
2002/2/18 Ver1.40 32
RTL8150(M)
10. ELECTRICAL CHARACTERISTICS
10.1 Temperature Limit Ratings:
Parameter
Storage temperature Operating temperature
Minimum
-55 0
Maximum
+125 70
Units
C C
10.2 DC CHARACTERISTICS:
10.2.1 Supply voltage (BUS POWER) Vbus = 4.5V min. to 5,5V max. Vcc = 3.3V
Symbol
VOH VOL VIH VIL IIN IOZ ICC
Parameter
Minimum High Level Output Voltage Maximum Low Level Output Voltage Minimum High Level Input Voltage Maximum Low Level Input Voltage Input Current Tri-State Output Leakage Current Average Operating Supply Current
Conditions
IOH= -2mA IOL= 8mA
Minimum Maximum
0.9 * Vcc 0.5 * Vcc -0.5 Vcc 0.1 * Vcc Vcc+0.5 0.3 * Vcc 50 50 110
Units
V V V V uA uA mA
VIN=VCC or GND VOUT=VCC or GND IOUT=0mA,
50 50
2002/2/18 Ver1.40
33
RTL8150(M)
10.3 EEPROM Interface
EESK
EECS
EEDI
1
1
0
0
0
0
A2
A1
A0
EEDO
D15 D14
D1
D0
T1 EESK T3 EEDI T5 EECS T7 EEDO T4
T2
T6
T8
Symbol T1 T2 T3 T4 T5 T6 T7 T8
Parameter EESK high width EESK low width EEDI setup to EESK rising edge EEDI hold from EESK rising edge EECS goes high to EESK rising edge EECS goes low from EESK falling edge EEDO setup to EESK falling edge EEDO hold from EESK falling edge
Min.
Typ. 3.2 3.2
Max.
Unit s s s s s
3.0 3.0 3.0 0 20 10
ns ns ns
2002/2/18 Ver1.40
34
RTL8150(M)
10.4 GPIO Interface
Symbol Vih Vil Voh Vol Iih Iil Parameter Input high voltage Input low voltage Output high voltage Output low voltage Input high leakage current Input low leakage current 0.9Vcc 0.1Vcc 50 -10 Min. 2.0 0.8 Typ. Max. Unit V V V V A A
10.5 USB interface
Symbol Tfr Tff Rise Time Fall Time Parameter Min. 9.6 12.8 Typ. 12 16 Max. 14.4 19.2 Unit ns ns
2002/2/18 Ver1.40
35
RTL8150(M)
Note: 1.To be determined at seating plane -cSymbol Dimension in inch Min Nom Max A 0.067 A1 0.000 0.004 0.008 A2 0.051 0.055 0.059 b 0.006 0.009 0.011 b1 0.006 0.008 0.010 c 0.004 0.008 c1 0.004 0.006 D 0.354 BSC D1 0.276 BSC E 0.354 BSC E1 0.276 BSC 0.020 BSC e L 0.016 0.024 0.031 L1 0.039 REF 0 3.5 9 1 0 2 12TYP 3 12TYP Dimension in mm Min Nom Max 1.70 0.00 0.1 0.20 1.30 1.40 1.50 0.15 0.22 0.29 0.15 0.20 0.25 0.09 0.20 0.09 0.16 9.00 BSC 7.00 BSC 9.00 BSC 7.00 BSC 0.50 BSC 0.40 0.60 0.80 1.00 REF 0 3.5 9 0 12TYP 12TYP 2.Dimensions D1 and E1 do not include mold protrusion. D1 and E1 are maximum plastic body size dimensions including mold mismatch. 3.Dimension b does not include dambar protrusion. Dambar can not be located on the lower radius of the foot. 4.Exact shape of each corner is optional. 5.These dimensions apply to the flat section of the lead between 0.10 mm and 0.25 mm from the lead tip. 6. A1 is defined as the distance from the seating plane to the lowest point of the package body. 7.Controlling dimension : millimeter. 8. Reference document : JEDEC MS-026 , BBC TITLE : 48LD LQFP ( 7x7x1.4mm) PACKAGE OUTLINE DRAWING , FOOTPRINT 2.0mm LEADFRAME MATERIAL: APPROVE DOC. NO. VERSION 1 PAGE OF CHECK DWG N SS048 - P1 DATE MAR. 25.1997 REALTEK SEMI-CONDUCTOR CO., LTD
2002/2/18 Ver1.40
36
RTL8150(M)
Note:
Symbol Dimension in inch Min Nom Max 0.067 0.000 0.004 0.008 0.051 0.055 0.059 0.006 0.009 0.011 0.006 0.008 0.010 0.004 0.008 0.004 0.006 0.630 BSC 0.551 BSC 0.630 BSC 0.551 BSC 0.020 BSC 0.016 0.024 0.031 0.039 REF 0 3.5 9 0 12TYP 12TYP Dimension in mm Min Nom Max 1.70 0.00 0.1 0.20 1.30 1.40 1.50 0.15 0.22 0.29 0.15 0.20 0.25 0.09 0.20 0.09 0.16 16.00 BSC 14.00 BSC 16.00 BSC 14.00 BSC 0.50 BSC 0.40 0.60 0.80 1.00 REF 0 3.5 9 0 12TYP 12TYP 1.To be determined at seating plane -c2.Dimensions D1 and E1 do not include mold protrusion. D1 and E1 are maximum plastic body size dimensions including mold mismatch. 3.Dimension b does not include dambar protrusion. Dambar can not be located on the lower radius of the foot. 4.Exact shape of each corner is optional. 5.These dimensions apply to the flat section of the lead between 0.10 mm and 0.25 mm from the lead tip. 6. A1 is defined as the distance from the seating plane to the lowest point of the package body. 7.Controlling dimension : millimeter. 8. Reference document : JEDEC MS-026 , BED. TITLE : 100LD LQFP ( 14x14x1.4mm) PACKAGE OUTLINE DRAWING , FOOTPRINT 2.0mm LEADFRAME MATERIAL: APPROVE DOC. NO. VERSION 1 PAGE OF CHECK DWG NO. LQ100 - P1 DATE APR. 28.1997 REALTEK SEMI-CONDUCTOR CO., LTD
A A1 A2 B B1 C C1 D D1 E E1 e L L1 1 2 3
2002/2/18 Ver1.40
37


▲Up To Search▲   

 
Price & Availability of RTL8150

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X